﻿<h2>Samples: WebApi2 Basic Integration</h2>

<table id="myTable"></table>

<script>
    $(document).ready(function () {
        $('#myTable').dataTable({
            serverSide: true,
            ajax: "/api/values",
            columns: [
                {
                    name: 'id',
                    data: 'id',
                    title: "Id",
                    sortable: false,
                    searchable: false
                },
                {
                    name: 'name',
                    data: "name",
                    title: "Name",
                    sortable: false,
                    searchable: false
                }
            ]
        });
    });
</script>